TapTree\WooCommerce\Payment\PaymentService S

Total Complexity 45
Dependencies 7
Dependents 2
Total lines 415
Lines of code 255
Logical lines of code 172
Comment lines 62
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
onPaymentGatewayWebhookCalled()
B
36 14 80
handle_payment_status_authorized()
S
45 6 39
handle_payment_status_paid()
S
53 4 23
handle_payment_status_expired()
S
56 3 17
walletName()
S
71 3 6
getPaymentMethodDetails()
S
64 3 9
handle_payment_status_canceled()
S
58 2 14
paymentBrandName()
S
56 1 18
getPaymentMethodName()
S
69 2 7
handle_payment_WOO_STATUS_COMPLETED()
S
66 2 8
isFinalOrderStatus()
S
63 1 11
__construct()
S
68 1 7
setGateway()
S
77 1 4
handle_payment_status_failed()
S
64 1 9
handle_payment_status_partially_captured()
S
79 1 3